Software Engineering

Andrzej Siemiński
Email: sieminski (at) pwr.wroc.pl
Tel: (0-71) 320-32-58 / 320-37-99

Some useful links for our course: (Ex. & Labs)
https://eportal.el.iis.pwr.wroc.pl/w08
https://eportal.el.iis.pwr.wroc.pl/w08/board/BOARD/Forms/AllItems.aspx?RootFolder=%2fw08%2fboard%2fBOARD%2fSiemi%c5%84ski%2eAndrzej&FolderCTID=&View=%7b2B76D1CF%2dF94D%2d4F69%2d8721%2d0B624E3638C4%7d

http://tigcc.ticalc.org/doc/keywords.html
http://tigcc.ticalc.org/doc/opers.html
http://tigcc.ticalc.org/doc/string.html

http://c-faq.com/

LABS:
Assignment #2:
run the CMD with your programs Line2word+collectLines like this:
C:\your_dir\line2word < inputtext.txt | sort | collectLines > outputtext.txt
*sort is a shell function inside the OS*

A possible code for the line counter:

Assignment #3:




Assignment #4:
1) Find all Words that start with the letter 'a' or 'A' *fixed*:

2) Find all Words that start including a string given by the user in the commandline:
..........a much easier and smarter solution using more power of the function strstr:
3) Find all words with more then N characters:
4) Same as 3... apart the line if (limit > wordlen)
5) A combination of 1+3+4 piped | | | ...

Assignment #5:
in work.. not working: